package net.gz01.wallet.web.config.route;

import com.jfinal.config.Routes;

import net.gz01.wallet.web.controller.org.AccountController;
import net.gz01.wallet.web.controller.org.MainController;
import net.gz01.wallet.web.controller.org.OrgUserController;
import net.gz01.wallet.web.controller.org.ReportController;
import net.gz01.wallet.web.controller.org.TradeOrderController;

/**
 * 配置路由规则,相当于配置action访问地址
 *
 * @author zhongzf
 *
 *         2016年6月19日
 */
public class OrgRoute extends Routes {

	@Override
	public void config() {
		super.setBaseViewPath("/WEB-INF/org/");
		super.add("/org", MainController.class, "/");
		super.add("/org/user", OrgUserController.class, "/");
		super.add("/org/account", AccountController.class, "/");
		super.add("/org/order", TradeOrderController.class, "/");
		super.add("/org/report", ReportController.class, "/");
	}

}
